<?php

if(function_exists("get_option")){ 

	mysql_query("CREATE TABLE IF NOT EXISTS `wp_shopperpress_orders` (
	  `autoid` mediumint(10) NOT NULL auto_increment,
	  `cus_id` int(10) NOT NULL,
	  `order_id` varchar(25) NOT NULL,
	  `order_date` date NOT NULL,
	  `order_time` time NOT NULL,
	  `order_data` blob NOT NULL,
	  `order_items` varchar(255) NOT NULL,
	  `order_address` blob NOT NULL,
	  `order_country` varchar(255) NOT NULL,
	  `order_phone` varchar(50) NOT NULL,
	  `order_email` varchar(255) NOT NULL,
	  `order_total` varchar(10) NOT NULL,
	  `order_shipping` varchar(10) NOT NULL,
	  `order_status` int(1) NOT NULL default '0',
	  PRIMARY KEY  (`autoid`)
	)");

}

?>